package com.kingdee.eas.custom.hr.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class CostCenterFactory
{
    private CostCenterFactory()
    {
    }
    public static com.kingdee.eas.custom.hr.base.ICostCenter getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.hr.base.ICostCenter)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("93188860") ,com.kingdee.eas.custom.hr.base.ICostCenter.class);
    }
    
    public static com.kingdee.eas.custom.hr.base.ICostCenter getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.hr.base.ICostCenter)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("93188860") ,com.kingdee.eas.custom.hr.base.ICostCenter.class, objectCtx);
    }
    public static com.kingdee.eas.custom.hr.base.ICostCenter getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.hr.base.ICostCenter)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("93188860"));
    }
    public static com.kingdee.eas.custom.hr.base.ICostCenter getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.hr.base.ICostCenter)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("93188860"));
    }
}